import 'package:flutter/material.dart';
import 'package:flutter_stort/page/welcome_page.dart';
import 'package:flutter_stort/resource/colors.dart';

import 'config/routes.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      initialRoute: "/",
      routes: routes,
      debugShowCheckedModeBanner: false,
      title: '等待商铺',
      theme: ThemeData(
        backgroundColor: CustomColor.beige,
        primaryColorDark: Colors.blue,
        primaryColor: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: WelcomePage(),
    );
  }
}
